package com.future.future.es.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.io.IOException;
import java.util.List;

/**
 * @Author: shinan
 * @Version: 1.8
 * @create: 2021/1/5 21:22
 * @Description: es保存数据接口
 */
@RestController
@RequestMapping("/es/save")
@Slf4j
public class EsSaveController {

    @Autowired
    private EsSaveController esSaveController;


    @GetMapping("/test")
    public String test(){

        return "success";
    }
}